package temp.lho.lws.mapper;

import java.util.List;

/**
 * @author liuws
 * @create 2020-06-24 17:32
 */
public interface IBaseMapper<T> {

    int add(T t);

    int delete(Integer id);

    int update(T t);

    List<T> findAll();

    T findById(Integer id);

}
